<!DOCTYPE html>
<html>
<head>
	<title></title>
	<meta charset="utf-8">
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/bootstrap.css">
</head>
<body>
	<div>
		<a href="{:U('add')}">
	      	<h2>
	      		<span class="glyphicon glyphicon-plus-sign"></span>
	      	    添加新信息
	      	</h2>
	    </a>
	</div>
	<div class="table-responsive">
		<table class="table table-striped table-bordered table-hover table-condensed text-center">
			<thead>
				<tr>
					<th class="text-center">分类ID</th>
					<th class="text-center">分类名称</th>
					<th class="text-center">上级分类ID</th>
					<th class="text-center">是否显示在导航栏</th>
					<th class="text-center">分类页标题</th>
					<th class="text-center">分类页关键词</th>
					<th class="text-center">分类页描述</th>
					<th class="text-center">修改/删除</th>
				</tr>
			</thead>
			<tbody>
				<volist name="list" id="tab">
					<tr>
						<td>{$tab.cid}</td>
						<td>{$tab.cname}</td>
						<td>{$tab.cpid}</td>
						<td>{$tab.cstatus}</td>
						<td>{$tab.ctitle}</td>
						<td>{$tab.ckeyword}</td>
						<td>{$tab.cdescription}</td>
						<td>
							<a href="{:U('save')}?cid={$tab.cid}">[修改]</a>
							<a href="{:U('cancel')}?cid={$tab.cid}" onclick="return confirm('确定将此记录删除?')">[删除]</a>
						</td>
					</tr>
				</volist>
			</tbody>
		</table>
		<div class="result page text-center"><h4>{$page}</h4></div>
	</div>
</body>
</html>